In order to determine the structure of your Visual Basic project, Document! VB parses your source code. This topic describes the logic the code parsers uses, so that you can troubleshoot any inconsistencies you may observe in the generated HTML Help file.
Relationships
Document! VB determines relationships between your projects modules in 4 possible ways :
Object or Collection ?
For the purposes of documentation, Document! VB seperates your projects modules into 'Objects' and 'Collections'. Document! VB will class a module as a collection if it supports a method called 'NewEnum'.
Example
As a simple example to illustrate the logic described above, take a look at the following code and resulting object model diagram.
---Class XMLDocument
Public Root As Element
---End Class
XMLDocument
---Class Element
Public Properties As
Properties
Public Children As
Elements
---End Class
Element
---Class Properties
Public Function Item(Key As String) As
Property
...
End Function
Public Function [_NewEnum] As IUnknown
...
End Function
--- End Class
Properties
--- Class Property
...
--- End Class Property
The code above would be represented by Document! VB as the following
overview diagram.